package com.brainhealth.customer.domain;

import com.brainhealth.common.enums.LearnCatetoryType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 会员收藏对象 customer_collect
 * 
 * @author wolong
 * @date 2023-05-10
 */
public class CustomerCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员收藏主键 */
    private Long customerCollectId;

    /** 关联知识库ID */
    @Excel(name = "关联知识库ID")
    private Long learnId;

    /** 关联会员ID */
    @Excel(name = "关联会员ID")
    private Long customerId;

    /** 知识库名称 */
    @Excel(name = "知识库名称")
    private String learnName;

    /** 学习库图片地址 */
    @Excel(name = "学习库图片地址")
    private String pictureUrl;

    /** 学习库分类主键 */
    @Excel(name = "学习库分类主键")
    private Long learnCategoryId;

    /** 学习分类类型(0学习视频 1知识科普) */
    @Excel(name = "学习分类类型(0学习视频 1知识科普)")
    private LearnCatetoryType categoryType;

    /** 知识库描述 */
    @Excel(name = "知识库描述")
    private String description;

    public void setCustomerCollectId(Long customerCollectId) 
    {
        this.customerCollectId = customerCollectId;
    }

    public Long getCustomerCollectId() 
    {
        return customerCollectId;
    }
    public void setLearnId(Long learnId) 
    {
        this.learnId = learnId;
    }

    public Long getLearnId() 
    {
        return learnId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setLearnName(String learnName) 
    {
        this.learnName = learnName;
    }

    public String getLearnName() 
    {
        return learnName;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setLearnCategoryId(Long learnCategoryId) 
    {
        this.learnCategoryId = learnCategoryId;
    }

    public Long getLearnCategoryId() 
    {
        return learnCategoryId;
    }

    public LearnCatetoryType getCategoryType()
    {
        return categoryType;
    }

    public void setCategoryType(LearnCatetoryType categoryType)
    {
        this.categoryType = categoryType;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerCollectId", getCustomerCollectId())
            .append("learnId", getLearnId())
            .append("customerId", getCustomerId())
            .append("learnName", getLearnName())
            .append("pictureUrl", getPictureUrl())
            .append("learnCategoryId", getLearnCategoryId())
            .append("categoryType", getCategoryType())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
